package com.zking.web.LYK;

import java.io.File;
import java.util.Calendar;
import java.util.Date;

/**
 * @author Tanglei
 * @date 2020/8/18 - 20:40
 */
public class Test {

    public static void main(String[] args) {
//        File file =new File("C:\\Users\\刘勇科\\Desktop\\重要文件");
//      File file2[]=  file.listFiles();
//        for (int i = 0; i < file2.length; i++) {
//            if(file2[i].isDirectory()){
//                System.out.println(file2[i].getName()+"===这个时文件夹");
//            }
//        }
        Date date =new Date();

        Calendar cal = Calendar.getInstance();
        cal.set(2020,7,20);
        System.out.println(cal.get(Calendar.DAY_OF_WEEK));
        System.out.println(cal);




    }

}
